﻿using Furion.DatabaseAccessor;
using Furion.EventBus;

namespace testZdj.Application;

public class SystemService : ISystemService, ITransient
{
    private static IEventPublisher _eventPublisher;
    public SystemService(IEventPublisher eventPublisher)
    {
        _eventPublisher = eventPublisher;
    }
    public string GetDescription()
    {
        _eventPublisher.PublishAsync("tt", string.Empty);
        return "让 .NET 开发更简单，更通用，更流行。";
    }
}
